home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / trueSpace 7.6 / tS761B8Std.exe / {app} / Scripts / MaterialEditor / Bricks / Logical / IsFinite.HLSL.Brick.xml < prev    next >
Extensible Markup Language  |  2008-06-10  |  1KB  |  27 lines

  1. <?xml version="1.0" encoding="utf-8" ?> 
  2. <ME_BRICK GUID="{5FFD2276-F17F-4127-9877-6763BCF44364}" Name="RtIsFinite" GUIName="IsFinite" Description="Return nonzero if all components of input are finite [isfinite]">
  3.     <ME_BRICK_INPUTPARAM GUID="{746ABA74-0CAB-4AC5-8597-824EA9A75C47}" Name="Input" Type="RtNumeric"/>
  4.     <ME_BRICK_OUTPUTPARAM GUID="{5C3BF746-BAAA-4555-ADA3-A8E628345EF8}" Name="Result" Type="RtFloat"/>
  5.     <ME_BRICK_CODE><![CDATA[
  6.         void RtIsFinite(in RtFloat Input, out RtFloat Result) {
  7.             Result = rtx_IsFinite(Input);
  8.         }
  9.  
  10.         void RtIsFinite(in RtFloat3 Input, out RtFloat Result) {
  11.             Result = rtx_IsFinite(Input);
  12.         }
  13.  
  14.         void RtIsFinite(in RtFloat4 Input, out RtFloat Result) {
  15.             Result = rtx_IsFinite(Input);
  16.         }
  17.  
  18.         void RtIsFinite(in RtFloat3x3 Input, out RtFloat Result) {
  19.             Result = rtx_IsFinite(Input);
  20.         }
  21.  
  22.         void RtIsFinite(in RtFloat4x4 Input, out RtFloat Result) {
  23.             Result = rtx_IsFinite(Input);
  24.         }
  25.     ]]></ME_BRICK_CODE>
  26. </ME_BRICK>
  27.